package cn.com.pet.common.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.pet.common.dao.UserBankMapper;
import cn.com.pet.common.entity.UserBank;
import cn.com.pet.common.service.UserBankService;

@Service("userBankService")
public class UserBankServiceImpl implements UserBankService {

	@Autowired
	UserBankMapper userBankMapper;

	@Override
	public List<UserBank> getUserBanks(UserBank userBank) {
		// TODO Auto-generated method stub
		return userBankMapper.getUserBanks(userBank);
	}

	@Override
	public void addUserBank(UserBank userBank) {
		// TODO Auto-generated method stub
		userBankMapper.addUserBank(userBank);
	}

	@Override
	public void updateUserBank(UserBank userBank) {
		// TODO Auto-generated method stub
		userBankMapper.updateUserBank(userBank);
	}
	
}
